package cn.daniel.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Daniel_li
 * @since 2020-12-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="User对象", description="")
public class User implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "用户id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String  id;

    @ApiModelProperty(value = "用户账号")
    private String userName;

    @ApiModelProperty(value = "用户密码")
    private String password;

    @ApiModelProperty(value = "密码问题")
    private String passwordQuestion;

    @ApiModelProperty(value = "密码问题答案")
    private String passwordAnswer;

    @ApiModelProperty(value = "用户真实姓名")
    private String userRealName;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "年龄")
    private String age;

    @ApiModelProperty(value = "职业")
    private String occupation;

    @ApiModelProperty(value = "教育程度")
    private String education;

    @ApiModelProperty(value = "电子邮件")
    private String email;

    @ApiModelProperty(value = "用户vip等级")
    private Integer vip;

    private String mobile;

    @ApiModelProperty(value = "用户是否审核")
    private Integer userCheck;

    @ApiModelProperty(value = "用户积分")
    private Integer userPoint;

    @ApiModelProperty(value = "用户访问次数")
    private Integer visitCount;

    @ApiModelProperty(value = "用户最后访问日期时间")
    private Date lastVisitTime;

    @ApiModelProperty(value = "用户的创建时间")
    private Date createTime;

    @ApiModelProperty(value = "用户修改的时间日期")
    private Date modifyTime;

    @ApiModelProperty(value = "微信openid")
    private String openid;

    @ApiModelProperty(value = "用户头像")
    private String avatar;

    @ApiModelProperty(value = "用户是否被禁用：0 false；1 true")
    private Boolean isDisabled;

    @ApiModelProperty(value = "用户是否被删除：0 false；1 true")
    private Boolean isDeleted;


}
